package com.dodoke.ojserver.bean.mapper;

import com.dodoke.ojserver.bean.Users;
import com.dodoke.ojserver.bean.dto.UsersDTO;
import com.dodoke.ojserver.bean.vo.UsersVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserMapStruct {

    UserMapStruct USER_MAPPER = Mappers.getMapper(UserMapStruct.class);

    UsersVO usersToUsersVO(Users users);

    Users usersDTOToUsers(UsersDTO usersDTO);

    UsersVO usersDTOToUsersVO(UsersDTO usersDTO);
}
